projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f780370
)
Plug another memory leak in plugman
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 Feb 2015 16:07:12 +0000
(11:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 1 Feb 2015 16:07:12 +0000
(11:07 -0500)
examples/plugman.c
patch
|
blob
|
history
diff --git
a/examples/plugman.c
b/examples/plugman.c
index 53f502e3e3d3f3a250c4356dae61dd1b1e3f0ef7..3e7e02aeee5f7f0a3842bfa680027fadd446f44a 100644
(file)
--- a/
examples/plugman.c
+++ b/
examples/plugman.c
@@
-359,7
+359,7
@@
configure_plugins (GSimpleAction *action,
{
g_warning ("%s", error->message);
g_error_free (error);
-
return
;
+
goto out
;
}
dialog = (GtkWidget *)gtk_builder_get_object (builder, "plugin-dialog");
@@
-373,6
+373,9
@@
configure_plugins (GSimpleAction *action,
g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL);
gtk_window_present (GTK_WINDOW (dialog));
+
+out:
+ g_object_unref (builder);
}
static GActionEntry app_entries[] = {